﻿using System.Net.Mail;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Data.SQLite;
using CommunityToolkit.Mvvm.ComponentModel;
using SQLite_Email_Sending.ViewModels;

namespace SQLite_Email_Sending
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.DataContext =new MainWindowViewModel();
        }
        //Delta
        private void bottomRightThumb_DragDelta(object sender, DragDeltaEventArgs e)
        {
            Body.Width += e.HorizontalChange;
            Body.Height += e.VerticalChange;
        }
    }
}